  

interface ListReq {
  pageNo: number
  pageSize: number
  searchVal?: string
}

interface WorkerGroupReq {
  addrList: string
  name: string
  id?: number
}

interface IdReq {
  id: number
}

interface WorkerGroupItem {
  id: number
  name: string
  addrList: string
  createTime: string
  updateTime: string
  systemDefault: boolean
}

interface WorkerGroupRes {
  totalList: WorkerGroupItem[]
  total: number
  totalPage: number
  pageSize: number
  currentPage: number
  start: number
}

export { ListReq, WorkerGroupReq, IdReq, WorkerGroupItem, WorkerGroupRes }
